home *** CD-ROM | disk | FTP | other *** search
- Path: news.ust.hk!anthony
- From: anthony@cs.ust.hk (Pang Hung Hing Anthony)
- Newsgroups: comp.lang.c++
- Subject: Question about template
- Date: 16 Jan 1996 06:08:42 GMT
- Organization: The Hong Kong University of Science and Technology
- Message-ID: <4dffda$ia0@news.ust.hk>
- NNTP-Posting-Host: cssu8.cs.ust.hk
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hello!
- Template function (no matter member or not) is usually placed in header file,
- so that multiple files can share the same template. However, if it is not inlined,
- multiple instance of template function of the same type will cause multiple defined
- symbol error during linkage. So, my question is: Can a template function not be inlined?
- Please reply through email.
-
- Many thanks.
-
- Anthony
-
-